package org.feng.entity.query;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author feng
 */
@Data
public class LoginQuery {

    @NotBlank(message = "验证码不能为空")
    private String code;
    @NotBlank(message = "验证密钥不能为空")
    private String key;
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
